home *** CD-ROM | disk | FTP | other *** search
- global chaptercount, firstchapter
-
- on beginSprite
- check()
- end
-
- on mouseDown
- firstchapter = firstchapter + 1
- if firstchapter > (chaptercount - 8) then
- firstchapter = chaptercount - 8
- end if
- reflashchapterlist()
- check()
- end
-
- on check
- if chaptercount < 10 then
- sprite(the currentSpriteNum - 1).locH = -320
- sprite(the currentSpriteNum).locH = -320
- else
- if firstchapter = 1 then
- sprite(the currentSpriteNum - 1).locH = -320
- else
- sprite(the currentSpriteNum - 1).locH = 320
- end if
- if firstchapter = (chaptercount - 8) then
- sprite(the currentSpriteNum).locH = -320
- else
- sprite(the currentSpriteNum).locH = 320
- end if
- end if
- end
-